package com.yy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author yang1yu
 * @since 2022-08-30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ApiModel("发票实体类")
public class Invoice implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 发票代码
     */
    @ApiModelProperty("发票代码")
    private String invoiceCode;

    @ApiModelProperty("发票开出时间")
    private String invoiceDate;

    /**
     * 发票名称
     */
    @ApiModelProperty("发票开出的公司名称")
    private String invoiceName;

    /**
     * 发票编号
     */
    @ApiModelProperty("发票编码")
    private String invoiceNum;

    /**
     * 总计
     */
    @ApiModelProperty("发票总金额")
    private String totalAmount;

}
